package com.example.api;

import javax.ws.rs.Path;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import com.example.dto.PeopleDto;
import org.apache.dubbo.rpc.protocol.rest.support.ContentType;

/**
 * @author LiYuhang
 * @version 0.1
 * @application
 * @Date 2022/8/7 08:07
 */
@Produces({ContentType.APPLICATION_JSON_UTF_8, MediaType.APPLICATION_JSON})
@Path("/user")
public interface PeopleManage {

    /**
     * 根据id获取用户行吗
     *
     * @param id
     * @return
     */

    PeopleDto getUserNameById(Integer id);
}
